const db = uniCloud.database();
const dbCmd = db.command;
exports.main = async (event, context) => {
	let { id } = event;
	return await db
		.collection('product_article')
		.doc(id)
		.update({
			delstatus: true,
			delip: dbCmd.push(context.CLIENTIP)
		});
};
